#ifndef STARTSENCE_H
#define STARTSENCE_H

#include <QWidget>
#include <QPaintEvent>

class StartSence : public QWidget
{
    Q_OBJECT
public:
    explicit StartSence(QWidget *parent = nullptr, int frame_size = -1, int window_width = -1, int window_height = -1);
    void paintEvent(QPaintEvent* event) override;



signals:
    void exit();
    void play();

public slots:
    void handleExit();
    void handlePlayGame();

private:
    int f_size;
    int w_width;
    int w_heigth;
};

#endif // STARTSENCE_H
